﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using PublisherManagementSystem.Models;
using PublisherManagementSystem.DAL;

namespace PublisherManagementSystem.Data
{
    public class PublisherManagementSystemContext : DbContext
    {
        public PublisherManagementSystemContext (DbContextOptions<PublisherManagementSystemContext> options)
            : base(options)
        {
        }

        public DbSet<PublisherManagementSystem.Models.Publisher> Publisher { get; set; } = default!;
        public DbSet<PublisherManagementSystem.Models.PublisherStaff> PublisherStaff { get; set; } = default!;
    }
}
